package com.zzj.model.dto.appointment;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;



@Data
public class AppointmentCreateDTO {
    @NotEmpty(message = "请输入患者用户名")
    private String patientUsername;
    @NotEmpty(message = "请输入患者姓名")
    private String patientName;
    @NotEmpty(message = "请输入患者头像")
    private String patientAvatar;
    @NotEmpty(message = "请输入医护用户名")
    private String nurseUsername;
    @NotEmpty(message = "请输入医护姓名")
    private String nurseName;
    @NotEmpty(message ="请输入医护头像")
    private String nurseAvatar;
    @NotNull(message = "请输入预约类型")
    private int type;
    @NotEmpty(message = "请输入预约时间")
    private String appointmentTime;
    @NotNull(message = "请输入预约行程ID")
    private int scheduleId;

    @NotNull(message = "请输入邮箱")
    private String  email;
    @NotNull(message = "请输入验证码")
    private int code;
}
